<template>
  <div class="main">
    <!-- 显示与 url 对应的组件：对应第一层级 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>

<style>
#app {
  width: 100%;
  height: 100%;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  user-select: none;
}
* {
  margin: 0;
  padding: 0;
}
html,
body,
.main {
  width: 100%;
  height: 100%;
}
</style>
